package com.ruoyi.app.domain.project.verify;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 项目验收信息表
 * </p>
 *
 * @author Zane
 * @since 2025-10-18
 */
@Getter
@Setter
@Accessors(chain = true)
public class ProjectVerify {

  /**
   * 项目ID
   */
  @NotBlank(message = "项目ID不能为空")
  private String projectId;

  /**
   * 验收状态  1 验收通过 2 验收驳回
   */
  @Min(value = 1, message = "验收状态不正确")
  @Max(value = 2, message = "验收状态不正确")
  private Integer verifyStatus;

  /**
   * 验收内容(不通过,必填)
   */
  private String verifyContent;

  /**
   * 验收分值 1~10,每个单位代表半颗星
   */
  @NotNull(message = "验收分值不能为空")
  private Integer commentScore;

  /**
   * 评价内容
   */
  private String commentContent;

}
